<% for group in groupsRow%>
   <table width="90%" border="0">
    <tr>
      <td width="20%" rowspan="2" align="center" valign="middle">
      <%= render :partial => 'shared/groupThumbImage', :object =>group%>
      </td>
      <td width="45%" align="left">
      <% if !params[:q].nil? -%>
      <%= link_to "#{group.highlight(params[:q], :field => 'title', :pre_tag =>"<span class=\"highlight\">" , :post_tag =>"</span>" )}", :controller => 'groups', :action => 'show', :id => group %>
      <% end -%>
      </td>
      <td width="35%" align="right">
      <%= group.users.size%>个成员 <%= local_date(group.created_at)%>
      </td>
    </tr>
    <tr>
      <td colspan="2" align="left">
      <% if params[:q].nil? -%>
      <%= link_to "#{group.title}", group_path(group)%>
      <% else -%>
      <%= group.highlight(params[:q], :field => 'description', :pre_tag =>"<span class=\"highlight\">" , :post_tag =>"</span>" )%>
      <% end -%>
      </td>
    </tr>
   </table>
   <p class="itemseparator">
   </p>
 <% end %>
 <% if !@groups_pages.nil? %>
 <%= pagination_links(@groups_pages, :params=>params)%>
 <% end %>